package messages;
import sharedspace.*;

/**
 * This message purpose is to give the user's credentials to the server to check if he can login
 * @author Avishai
 *
 */
public class MessageSendTimeExtentionRequest extends Message {
/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private User userLog = null;
	private int timeAdd;
	private String testID = null;
	private String reasonAdd = null;

/**
 * 
 * @param user
 * @param pass
 */
	public MessageSendTimeExtentionRequest(int time, String reason, String tID, User user) {
		super(Message.MessageType.MESSAGE_REQUEST_TIME_EXTENTION);
		this.timeAdd = time;
		this.reasonAdd = reason;
		this.testID = tID;
		this.userLog = user;
		}

public User getUserLog() {
	return userLog;
}

public void setUserLog(User userLog) {
	this.userLog = userLog;
}

public int getTimeAdd() {
	return timeAdd;
}

public void setTimeAdd(int timeAdd) {
	this.timeAdd = timeAdd;
}

public String getTestID() {
	return testID;
}

public void setTestID(String testID) {
	this.testID = testID;
}

public String getReasonAdd() {
	return reasonAdd;
}

public void setReasonAdd(String reasonAdd) {
	this.reasonAdd = reasonAdd;
}
	
}
